package com.wechet.DAO;

import com.wechet.domain.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by sc on 2017/9/20.
 */
public interface ProductInfoDAO extends JpaRepository<ProductInfo,String> {
    //查看上架商品
     List<ProductInfo> findByProductStatus(Integer productStatus);

}
